package com.seuic.scanner2d.type;
/**
 * states
 * @author Alian*/
public enum Scanner2DStateType {
	/** app pause*/
	STATE_PAUSE(-1),
	/** waiting for user input*/
	STATE_IDLE(0), 
	/** decoding*/
	STATE_DECODE(1),
	/** handsfree decoding*/
	STATE_HANDSFREE(2),
	/** SDL-Snapshot preview mode (#324 = 1)*/
	STATE_PREVIEW(3),
	/** SDL-Snapshot*/
	STATE_SNAPSHOT(4),
	/** SDL-Video*/
	STATE_VIDEO(5),
	/** generic (non-SDL) preview mode*/
	STATE_GEN_PREVIEW(6);

	int state;

	Scanner2DStateType(int state) {
		this.state = state;
	}
}
